return TRUE;
}
+void
+gtk_widget_set_has_focus (GtkWidget *widget,
+ gboolean has_focus)
+{
+ GtkWidgetPrivate *priv = gtk_widget_get_instance_private (widget);
+
+ if (priv->has_focus == has_focus)
+ return;
+
+ priv->has_focus = has_focus;
+ g_object_notify_by_pspec (G_OBJECT (widget), widget_props[PROP_HAS_FOCUS]);
+}
+
/**
* gtk_widget_in_destruction:
* @widget: a #GtkWidget
GPtrArray *focus_order);
gboolean gtk_widget_focus_move (GtkWidget *widget,
GtkDirectionType direction);
+void gtk_widget_set_has_focus (GtkWidget *widget,
+ gboolean has_focus);
void gtk_widget_get_surface_allocation (GtkWidget *widget,
GtkAllocation *allocation);